package com.guigu.zj.controller;

import com.guigu.mapper.MakeMapper;
import com.guigu.pojo.Make;
import com.guigu.zj.pojo.PageVo;
import com.guigu.zj.service.MakeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MakeController {
    @Autowired
    MakeService makeService;
    @RequestMapping("/Z_queryMake")
    public PageVo<Make> queryMake(@RequestBody PageVo<Make> make){
      return   makeService.queryAll(make);
    }
}
